import instance from "@/utils/request"

// 预览
export const showImg = (data: any) => {
    return instance({
        method: 'post',
        url: '/api/system/img/showImg',
        data
    })
}
// 关闭预览
export const closeShowImg = (data: any) => {
    return instance({
        method: 'post',
        url: '/api/system/img/closeShowImg',
        data
    })
}

// 获取列表数据
export const imgList = () => {
    return instance({
        method: 'post',
        url: '/api/system/img/imgList'
    })
}
